import Index from './components/Index.vue'
import Topic from './components/Topic.vue'
import Add from './components/Add.vue'

const routers = [
  {
    path: '/:token?',
    name: 'index',
    component: Index
  },
  {
      path: '/add',
      name: 'add',
      component: Add
  }
]
export default routers